﻿@charset "UTF-8";


//首页

body,html{
  background: #f5f6fa;
}
.root {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: auto;
    // user-select: none;
    // -webkit-user-select: none;
    &.with-padding {
      padding: 10px;
    }
}

.nav-tabs {
    line-height: 40px;
    //border-bottom: 2px solid #ebedf7;
    .tab {
        display: inline-block;
        padding: 0 15px;
        &.active {
            margin-bottom: -2px;
            border-bottom: 2px solid @main-style-color;
            background-color: #e1e1e1;
        }

        &:hover {
            background-color: #ebedf7;
        }
    }
}

.site-header {
    height: 60px;
    background-color: @main-style-color;
    //width:179px;
    .logo {
      display: inline-block;
      width: 180px;
      line-height: 60px;
      font-size: 24px;
      color: #fff;
      text-align: center;
    }

    .logout {
      display: none;
      float: right;
      margin-right: 30px;
      line-height: 60px;
      color: #fff;
    }
    .login-user{
      float: right;
      margin-right: 30px;
      line-height: 60px;
      color: #fff;
    }
    .nav {
        height: 40px;
        line-height: 40px;
        a {
            display: block;
            padding: 0 15px;
            color: #fff;
            font-size: 16px;
        }
    }
  .lang-group {
    float: right;
    margin-right: 20px;
    line-height: 60px;
    color: #fff;
    span{
      cursor: pointer;
    }
    span.active {
      font-weight: bolder;
      cursor: default;
    }
  }

}

.site-wrap {
    position: absolute;
    top: 60px;
    bottom: 0;
    width: 100%;
    .site-main {
      position: absolute;
      left: 180px;
      top: 0;
      bottom: 0;
      right: 0;
      overflow: auto;
        .site-content {
          position: absolute;
          left: 0;
          top: 0;
          bottom: 0;
          right: 0;
          background: #ffffff;
          -webkit-box-shadow:0 0 10px 1px rgba(183, 198, 198, 0.5);
          -moz-box-shadow:0 0 10px 1px rgba(183, 198, 198, 0.5);
          box-shadow:0 0 10px 1px rgba(183, 198, 198, 0.5);

            // overflow: auto;
            iframe {
                position: absolute;
                background-color: #fff;
            }
        }
    }
    .site-leftbar {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 180px;
        padding-top: 20px;
        border-right: 1px solid #e0e1e5;
        background-color: #f5f5f5;
        overflow: auto;


        .menu-list {
          .menu {
            position: relative;
            padding: 6px 0 6px 36px;
            font-size: 14px;
            line-height: 14px;
            color: #686868;
            word-break: break-all;
            cursor: pointer;

            &.has-sub {
              cursor: default;
              &:hover {
                color: #686868;
              }
            }

            &.submenu {
              padding-left: 50px;
            }

            &:hover {
              color: @main-style-color;
            }

            &.active {
              color: @main-style-color;
              background-color: #dce9f9;
              &:before {
                content: '';
                position: absolute;
                width: 2px;
                height: 100%;
                left: 0;
                top: 0;
                background-color: @main-style-color;
              }
            }
          }

          .title {
            padding: 0 0 10px 25px;
            font-size: 18px;
            line-height: 18px;

            &:before {
              content: '';
              display: block;
              height: 1px;
              margin-bottom: 10px;
              margin-top: 10px;
              background-color: #dedede;
            }
          }


        }
    }
}
//teacherlist
.topbar {
    height: 42px;
    // padding: 0 9px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    .btn {
        &.pull-left {
            margin-top: 9px;
        }
        &.pull-right {
            // margin-top: 9px;
        }
    }
}

.enroll-appoint {
    float: left;
    width: 50%;
    height: 100%;
    padding: 10px;
    border-right: 1px solid #ddd;
}

.teacher-appoint {
    // display: none;
    float: left;
    width: 50%;
    height: 100%;
    padding: 10px;
    border-right: 1px solid #ddd;

    .teacher-candidate {
        height: 50%;
        border-bottom: 1px solid #aaa;

        .teacher-search {
            float: left;
            margin: 9px 0 0 9px;
        }

        .ChooseTeacher {
             border-bottom: none !important;
             border-right:1px solod #ccc !important;
        }

    }

    .timelist-search {
        display: none;
        position: relative;
        height: 50%;

        .teacher {
            line-height: 32px;
        }

        .duration {
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }

        .appoint-section {
            overflow: auto;
            position: absolute;
            width: 100%;
            // right: -10px;
            // left: 0;
            top: 32px;
            padding-right: 10px;
            bottom: 0;
        }
    }
}

.Btn{
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    padding: 7px 8px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    border: 1px #3ac486 solid;
    color: #3ac486;
    line-height: 8px;

}

.Btnhover{
  display: inline-block;
  vertical-align: middle;
  height: 24px;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  border: 1px #fff solid;
  color: #fff;
  line-height: 8px;
  background: #3ac486;
}



.Delete{
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    padding: 8px 8px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    border: 1px red solid;
    color: red;
    line-height: 7px;

}

.cancelBtn{
  display: inline-block;
  vertical-align: middle;
  height: 24px;
  padding: 8px 8px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  border: 1px #f5a623 solid;
  color: #f5a623;
  line-height: 7px;
}
